#ifndef __mynes_H__
#define __mynes_H__
#include "main.h"

#if 1 
  #define mynes_DEBUG(format, args...) ESP_LOGW("[mynes]- "," %s:%d\r\n",__FILE__, __LINE__);printf(format, ## args );
#else
  #define mynes_DEBUG(format, args...) ;
#endif

#define FSROOT "/nes"

esp_err_t mynes_init(char *filename);
void  mynes_test_task(void *pvParameter);

void *mynes_alloc(int size, bool prefer_fast_memory);
void mynes_free(void *data);

#endif